From 61216e4ac2fe90984f0a110295783b4e9ada356d Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Fri, 14 Feb 2020 11:56:58 -0800 Subject: [PATCH] When searching a topic in Gnus, search all topic's groups Bug#39515 * lisp/gnus/nnir.el (gnus-group-make-nnir-group): Bring the code in line with the documentation, which says that all topic groups will be searched, even if they're not visible. --- lisp/gnus/nnir.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 0f364d66e1a..0277524a8c6 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -617,7 +617,8 @@ A non-nil `specs' arg must be an alist with `nnir-query-spec' and (list (gnus-group-group-name)) (mapcar (lambda (entry) (gnus-info-group (cadr entry))) - (gnus-topic-find-groups (gnus-group-topic-name))))) + (gnus-topic-find-groups (gnus-group-topic-name) + nil t nil t)))) gnus-group-server)))) (query-spec (or (cdr (assq 'nnir-query-spec specs)) -- 2.30.2